using System;
using System.Collections.Generic; 
using System.Linq;  
using System.Text;  
using System.Data.Linq.Mapping;
namespace MRSite.Entity  
{  
    /// <summary>
    /// 订单支付方式
    /// </summary>
	 [Table(Name = "payment")] 
	 public class Payment : Entity
	{ 
		/// <summary>
		///自增ID
		/// </summary>
		[Column(Name = "id", IsPrimaryKey = true, CanBeNull = false, IsVersion = true)]
		public override int id{ get; set; } 

		/// <summary>
		///支付名称
		/// </summary>
		[Column(Name = "title")]
		public String title{ get; set; } 

		/// <summary>
		///显示图片
		/// </summary>
		[Column(Name = "img_url")]
		public String img_url{ get; set; } 

		/// <summary>
		///备注说明
		/// </summary>
		[Column(Name = "remark")]
		public String remark{ get; set; } 

		/// <summary>
		///支付类型1线上2线下
		/// </summary>
		[Column(Name = "type")]
		public int type{ get; set; } 

		/// <summary>
		///手续费类型1百分比2固定金额
		/// </summary>
		[Column(Name = "poundage_type")]
		public int poundage_type{ get; set; } 

		/// <summary>
		///手续费金额
		/// </summary>
		[Column(Name = "poundage_amount")]
		public Decimal poundage_amount{ get; set; } 

		/// <summary>
		///排序
		/// </summary>
		[Column(Name = "sort_id")]
		public int sort_id{ get; set; } 

		/// <summary>
		///是否启用
		/// </summary>
		[Column(Name = "is_lock")]
		public int is_lock{ get; set; } 

		/// <summary>
		///API目录名称
		/// </summary>
		[Column(Name = "api_path")]
		public String api_path{ get; set; } 

	 } 
}    

